﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// 调价 详情列表
    /// </summary>
    [SugarTable("AdjustHeader")]
    public class AdjustHeader: BaseHead
    {
        /// <summary>
        /// 流程名称
        /// </summary>
        public string ProcessName { get; set; }

        /// <summary>
        /// 销售组织(开盘公司)
        /// </summary>
        public string SaleRegion { get; set; }

        /// <summary>
        /// 事业部
        /// </summary>
        public string AppoverType { get; set; }

        /// <summary>
        /// 行业
        /// </summary>
        public string AutoType { get; set; }

        /// <summary>
        /// 细分市场
        /// </summary>
        public string AutoType2 { get; set; }

        /// <summary>
        /// 客户类型
        /// </summary>
        public string CustomerStatus { get; set; }

        /// <summary>
        /// 商机号
        /// </summary>
        public string BusinessOpportunities { get; set; }

        /// <summary>
        /// 客户编码
        /// </summary>
        public string CustomerNO { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; }

        /// <summary>
        /// 客户分级
        /// </summary>
        public string CustomerRank { get; set; }

        /// <summary>
        /// 企业性质
        /// </summary>
        public string CompanyType { get; set; }

        /// <summary>
        /// 客户归属
        /// </summary>
        public string CustomerCatalog { get; set; }

        /// <summary>
        /// 送货方式
        /// </summary>
        public string DeliverType { get; set; }

        /// <summary>
        /// 结算方式
        /// </summary>
        public string BalanceType { get; set; }

        /// <summary>
        /// 价格有效截止日期
        /// </summary>
        public string PriceEndtime { get; set; }

        /// <summary>
        ///  行数据
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public List<AdjustDetail> LineData { get; set; }
    }
}
